\hypertarget{_electric_colour_8hpp}{\section{C\-:/\-Users/\-Owner/\-My Programming/\-Personal Projects/\-Video\-Games/\-Optimist Racing/src/\-Electric\-Colour.hpp File Reference}
\label{_electric_colour_8hpp}\index{C\-:/\-Users/\-Owner/\-My Programming/\-Personal Projects/\-Video\-Games/\-Optimist Racing/src/\-Electric\-Colour.\-hpp@{C\-:/\-Users/\-Owner/\-My Programming/\-Personal Projects/\-Video\-Games/\-Optimist Racing/src/\-Electric\-Colour.\-hpp}}
}
{\ttfamily \#include $<$iostream$>$}\\*
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{_electric_colour_8hpp_a9563b67c4aa0439e69914b8cd01d2c1f}{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-N\-U\-M}~8
\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} \{ \\*
\hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734a14ca692c5fe0be2df7f983b5629e9cf4}{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-B\-L\-A\-C\-K} = 0x0, 
\hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734a8fc5b54a0310cc5c523ab8849e820b9f}{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-R\-E\-D} = 0x1, 
\hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734ae92739fbff1a809982d681fdb23e1a27}{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-G\-R\-E\-E\-N} = 0x2, 
\hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734a222922af5374f90b0e34551443988ab2}{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-Y\-E\-L\-L\-O\-W} = 0x3, 
\\*
\hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734a0aaff4a9b367c0e362e106bb14b675ff}{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-B\-L\-U\-E} = 0x4, 
\hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734a2764b03e27f901e659db908c5fd6e695}{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-M\-A\-G\-E\-N\-T\-A} = 0x5, 
\hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734abe11e623e33963bd2c1509f005e26b2b}{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-C\-Y\-A\-N} = 0x6, 
\hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734a93b18326112704fc67a7a5b20e350b22}{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-W\-H\-I\-T\-E} = 0x7
 \}
\begin{DoxyCompactList}\small\item\em A set of 8 colours that affect the physics of the game. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
std\-::ostream \& \hyperlink{_electric_colour_8hpp_af1d4177c474974362dbd0b8bd532f54f}{operator$<$$<$} (std\-::ostream \&out, const \hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} ecol)
\begin{DoxyCompactList}\small\item\em Outputs the character representation of {\itshape ecol} to {\itshape out}. \end{DoxyCompactList}\item 
std\-::istream \& \hyperlink{_electric_colour_8hpp_a1964467d6938e25d600d61f7f83a31bf}{operator$>$$>$} (std\-::istream \&in, \hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} \&ecol)
\begin{DoxyCompactList}\small\item\em Reads in the character representation of {\itshape ecol} from {\itshape in}. \end{DoxyCompactList}\item 
\hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} \hyperlink{_electric_colour_8hpp_a91e81cee67c59cecb311503463c2125d}{operator$\sim$} (\hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} c)
\begin{DoxyCompactList}\small\item\em Inverts the Electric\-Colour {\itshape c}. \end{DoxyCompactList}\item 
\hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} \hyperlink{_electric_colour_8hpp_ae4b285ef9e9cdb68cdabeac0b1dab616}{operator\&} (\hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} c1, \hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} c2)
\begin{DoxyCompactList}\small\item\em Returns the intersection of two Electric\-Colours. \end{DoxyCompactList}\item 
\hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} \hyperlink{_electric_colour_8hpp_a6868414f583a0227d1232f9dee611fbb}{operator$|$} (\hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} c1, \hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} c2)
\begin{DoxyCompactList}\small\item\em Returns the union of two Electric\-Colours. \end{DoxyCompactList}\item 
\hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} \hyperlink{_electric_colour_8hpp_a8b80adef6ab9b9cb7cb4f84bbb2011c1}{operator$^\wedge$} (\hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} c1, \hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} c2)
\begin{DoxyCompactList}\small\item\em Returns the element-\/wise X\-O\-R of {\itshape c1} and {\itshape c2}. \end{DoxyCompactList}\item 
\hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} \hyperlink{_electric_colour_8hpp_af273b48501b0de5d9be6396c90e9f550}{operator-\/} (\hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} c1, \hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} c2)
\begin{DoxyCompactList}\small\item\em Returns the subtraction of two Electric\-Colours. \end{DoxyCompactList}\item 
bool \hyperlink{_electric_colour_8hpp_a848cdfca5532396af5037dfa4eb45963}{operator!} (\hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} c)
\begin{DoxyCompactList}\small\item\em Determines whether {\itshape c} is B\-L\-A\-C\-K. \end{DoxyCompactList}\item 
bool \hyperlink{_electric_colour_8hpp_af664e90924bd5a7f58472b1e63b22539}{operator\&\&} (\hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} c1, \hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} c2)
\begin{DoxyCompactList}\small\item\em Determines whether {\itshape c1} and {\itshape c2} share a basic colour. \end{DoxyCompactList}\item 
bool \hyperlink{_electric_colour_8hpp_a8562ffdba84f04961059cf5e05f84454}{operator$|$$|$} (\hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} c1, \hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} c2)
\begin{DoxyCompactList}\small\item\em Determines whether {\itshape c1} and {\itshape c2} are not both B\-L\-A\-C\-K. \end{DoxyCompactList}\item 
bool \hyperlink{_electric_colour_8hpp_aefec5b7d4bc4397fe898d7c9d11fc695}{operator$<$} (\hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} c1, \hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} c2)
\begin{DoxyCompactList}\small\item\em Determines whether {\itshape c1} is a proper subset of {\itshape c2}. \end{DoxyCompactList}\item 
bool \hyperlink{_electric_colour_8hpp_a373043b3c5688d1a8cd65adb2849125a}{operator$<$=} (\hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} c1, \hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} c2)
\begin{DoxyCompactList}\small\item\em Determines whether {\itshape c1} is a subset of {\itshape c2}. \end{DoxyCompactList}\item 
bool \hyperlink{_electric_colour_8hpp_ad03bdfc78320f02c613ce4da319d1e06}{operator$>$} (\hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} c1, \hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} c2)
\begin{DoxyCompactList}\small\item\em Determines whether {\itshape c1} is a proper superset of {\itshape c2}. \end{DoxyCompactList}\item 
bool \hyperlink{_electric_colour_8hpp_a1e931082bbb2c3bc25699efb44064deb}{operator$>$=} (\hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} c1, \hyperlink{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} c2)
\begin{DoxyCompactList}\small\item\em Determines whether {\itshape c1} is a superset of {\itshape c2}. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\hypertarget{_electric_colour_8hpp_a9563b67c4aa0439e69914b8cd01d2c1f}{\index{Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}!E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-N\-U\-M@{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-N\-U\-M}}
\index{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-N\-U\-M@{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-N\-U\-M}!ElectricColour.hpp@{Electric\-Colour.\-hpp}}
\subsubsection[{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-N\-U\-M}]{\setlength{\rightskip}{0pt plus 5cm}\#define E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-N\-U\-M~8}}\label{_electric_colour_8hpp_a9563b67c4aa0439e69914b8cd01d2c1f}


\subsection{Enumeration Type Documentation}
\hypertarget{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}{\index{Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}!E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R@{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}}
\index{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R@{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}!ElectricColour.hpp@{Electric\-Colour.\-hpp}}
\subsubsection[{E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}}}\label{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734}


A set of 8 colours that affect the physics of the game. 

There are 8 Electric\-Colours. There are 3 basic colours\-: red, green and blue. You can think of an Electric\-Colour as a subset of the set \{red, green, blue\}. B\-L\-A\-C\-K = \{\}. R\-E\-D = \{red\}. G\-R\-E\-E\-N = \{green\}. B\-L\-U\-E = \{blue\}. Y\-E\-L\-L\-O\-W = \{red, green\}. M\-A\-G\-E\-N\-T\-A = \{red, blue\}. C\-Y\-A\-N = \{green, blue\}. W\-H\-I\-T\-E = \{red, green, blue\}. 2 objects of Electric\-Colours X and Y can interact with other if and only if they share one of the 3 basic colours. In other words they can interact with each other if and only if $ X \bigcap Y \neq \emptyset $. \begin{Desc}
\item[Enumerator\-: ]\par
\begin{description}
\index{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-B\-L\-A\-C\-K@{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-B\-L\-A\-C\-K}!Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}}\index{Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}!E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-B\-L\-A\-C\-K@{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-B\-L\-A\-C\-K}}\item[{\em 
\hypertarget{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734a14ca692c5fe0be2df7f983b5629e9cf4}{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-B\-L\-A\-C\-K}\label{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734a14ca692c5fe0be2df7f983b5629e9cf4}
}]\index{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-R\-E\-D@{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-R\-E\-D}!Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}}\index{Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}!E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-R\-E\-D@{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-R\-E\-D}}\item[{\em 
\hypertarget{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734a8fc5b54a0310cc5c523ab8849e820b9f}{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-R\-E\-D}\label{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734a8fc5b54a0310cc5c523ab8849e820b9f}
}]\index{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-G\-R\-E\-E\-N@{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-G\-R\-E\-E\-N}!Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}}\index{Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}!E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-G\-R\-E\-E\-N@{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-G\-R\-E\-E\-N}}\item[{\em 
\hypertarget{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734ae92739fbff1a809982d681fdb23e1a27}{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-G\-R\-E\-E\-N}\label{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734ae92739fbff1a809982d681fdb23e1a27}
}]\index{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-Y\-E\-L\-L\-O\-W@{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-Y\-E\-L\-L\-O\-W}!Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}}\index{Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}!E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-Y\-E\-L\-L\-O\-W@{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-Y\-E\-L\-L\-O\-W}}\item[{\em 
\hypertarget{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734a222922af5374f90b0e34551443988ab2}{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-Y\-E\-L\-L\-O\-W}\label{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734a222922af5374f90b0e34551443988ab2}
}]\index{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-B\-L\-U\-E@{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-B\-L\-U\-E}!Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}}\index{Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}!E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-B\-L\-U\-E@{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-B\-L\-U\-E}}\item[{\em 
\hypertarget{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734a0aaff4a9b367c0e362e106bb14b675ff}{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-B\-L\-U\-E}\label{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734a0aaff4a9b367c0e362e106bb14b675ff}
}]\index{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-M\-A\-G\-E\-N\-T\-A@{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-M\-A\-G\-E\-N\-T\-A}!Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}}\index{Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}!E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-M\-A\-G\-E\-N\-T\-A@{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-M\-A\-G\-E\-N\-T\-A}}\item[{\em 
\hypertarget{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734a2764b03e27f901e659db908c5fd6e695}{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-M\-A\-G\-E\-N\-T\-A}\label{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734a2764b03e27f901e659db908c5fd6e695}
}]\index{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-C\-Y\-A\-N@{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-C\-Y\-A\-N}!Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}}\index{Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}!E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-C\-Y\-A\-N@{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-C\-Y\-A\-N}}\item[{\em 
\hypertarget{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734abe11e623e33963bd2c1509f005e26b2b}{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-C\-Y\-A\-N}\label{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734abe11e623e33963bd2c1509f005e26b2b}
}]\index{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-W\-H\-I\-T\-E@{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-W\-H\-I\-T\-E}!Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}}\index{Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}!E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-W\-H\-I\-T\-E@{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-W\-H\-I\-T\-E}}\item[{\em 
\hypertarget{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734a93b18326112704fc67a7a5b20e350b22}{E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R\-\_\-\-W\-H\-I\-T\-E}\label{_electric_colour_8hpp_a1979e84576b59c4d100d8a8cc41de734a93b18326112704fc67a7a5b20e350b22}
}]\end{description}
\end{Desc}



\subsection{Function Documentation}
\hypertarget{_electric_colour_8hpp_a848cdfca5532396af5037dfa4eb45963}{\index{Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}!operator!@{operator!}}
\index{operator!@{operator!}!ElectricColour.hpp@{Electric\-Colour.\-hpp}}
\subsubsection[{operator!}]{\setlength{\rightskip}{0pt plus 5cm}bool operator! (
\begin{DoxyParamCaption}
\item[{{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}}]{c}
\end{DoxyParamCaption}
)}}\label{_electric_colour_8hpp_a848cdfca5532396af5037dfa4eb45963}


Determines whether {\itshape c} is B\-L\-A\-C\-K. 

Each Electric\-Colour represents a subset of the set \{red, green, blue\}. This function returns true if and only if {\itshape c} is the empty set, i.\-e. B\-L\-A\-C\-K. 
\begin{DoxyParams}{Parameters}
{\em c} & The Electric\-Colour that may or may not be B\-L\-A\-C\-K. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
True if and only if {\itshape c} is B\-L\-A\-C\-K. 
\end{DoxyReturn}
\hypertarget{_electric_colour_8hpp_ae4b285ef9e9cdb68cdabeac0b1dab616}{\index{Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}!operator\&@{operator\&}}
\index{operator\&@{operator\&}!ElectricColour.hpp@{Electric\-Colour.\-hpp}}
\subsubsection[{operator\&}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} operator\& (
\begin{DoxyParamCaption}
\item[{{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}}]{c1, }
\item[{{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}}]{c2}
\end{DoxyParamCaption}
)}}\label{_electric_colour_8hpp_ae4b285ef9e9cdb68cdabeac0b1dab616}


Returns the intersection of two Electric\-Colours. 

Each Electric\-Colour represents a subset of the set \{red, green, blue\}. This function returns an Electric\-Colour representing the intersection of the two arguments. 
\begin{DoxyParams}{Parameters}
{\em c1} & The first Electric\-Colour. \\
\hline
{\em c2} & The second Electric\-Colour. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The intersection of {\itshape c1} and {\itshape c2}. 
\end{DoxyReturn}
\hypertarget{_electric_colour_8hpp_af664e90924bd5a7f58472b1e63b22539}{\index{Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}!operator\&\&@{operator\&\&}}
\index{operator\&\&@{operator\&\&}!ElectricColour.hpp@{Electric\-Colour.\-hpp}}
\subsubsection[{operator\&\&}]{\setlength{\rightskip}{0pt plus 5cm}bool operator\&\& (
\begin{DoxyParamCaption}
\item[{{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}}]{c1, }
\item[{{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}}]{c2}
\end{DoxyParamCaption}
)}}\label{_electric_colour_8hpp_af664e90924bd5a7f58472b1e63b22539}


Determines whether {\itshape c1} and {\itshape c2} share a basic colour. 

Each Electric\-Colour represents a subset of the set \{red, green, blue\}. This function returns true if and only if there exists a basic colour which is in both {\itshape c1} and {\itshape c2}. 
\begin{DoxyParams}{Parameters}
{\em c1} & The first Electric\-Colour. \\
\hline
{\em c2} & The second Electric\-Colour. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
True if and only if {\itshape c1} and {\itshape c2} share a basic colour. 
\end{DoxyReturn}
\hypertarget{_electric_colour_8hpp_af273b48501b0de5d9be6396c90e9f550}{\index{Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}!operator-\/@{operator-\/}}
\index{operator-\/@{operator-\/}!ElectricColour.hpp@{Electric\-Colour.\-hpp}}
\subsubsection[{operator-\/}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} operator-\/ (
\begin{DoxyParamCaption}
\item[{{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}}]{c1, }
\item[{{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}}]{c2}
\end{DoxyParamCaption}
)}}\label{_electric_colour_8hpp_af273b48501b0de5d9be6396c90e9f550}


Returns the subtraction of two Electric\-Colours. 

Each Electric\-Colour represents a subset of the set \{red, green, blue\}. This function returns an Electric\-Colour representing the subtraction of the two arguments. In other words, it returns an Electric\-Colour c3 such that for each basic colour c in \{red, green, blue\}, c3 contains c if and only if c1 contains c and c2 doesn't contain c. 
\begin{DoxyParams}{Parameters}
{\em c1} & The first Electric\-Colour. \\
\hline
{\em c2} & The second Electric\-Colour. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The subtraction of {\itshape c1} and {\itshape c2}. 
\end{DoxyReturn}
\hypertarget{_electric_colour_8hpp_aefec5b7d4bc4397fe898d7c9d11fc695}{\index{Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}!operator$<$@{operator$<$}}
\index{operator$<$@{operator$<$}!ElectricColour.hpp@{Electric\-Colour.\-hpp}}
\subsubsection[{operator$<$}]{\setlength{\rightskip}{0pt plus 5cm}bool operator$<$ (
\begin{DoxyParamCaption}
\item[{{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}}]{c1, }
\item[{{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}}]{c2}
\end{DoxyParamCaption}
)}}\label{_electric_colour_8hpp_aefec5b7d4bc4397fe898d7c9d11fc695}


Determines whether {\itshape c1} is a proper subset of {\itshape c2}. 

Each Electric\-Colour represents a subset of the set \{red, green, blue\}. This function returns true if and only if c2 contains every basic colour that c1 contains and c1 contains strictly fewer basic colours than c2. 
\begin{DoxyParams}{Parameters}
{\em c1} & The Electric\-Colour that may or may not be a proper subset of {\itshape c2}. \\
\hline
{\em c2} & The Electric\-Colour that may or may not be a proper superset of {\itshape c1}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
True if and only if {\itshape c1} is a proper subset of {\itshape c2}. 
\end{DoxyReturn}
\hypertarget{_electric_colour_8hpp_af1d4177c474974362dbd0b8bd532f54f}{\index{Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}!operator$<$$<$@{operator$<$$<$}}
\index{operator$<$$<$@{operator$<$$<$}!ElectricColour.hpp@{Electric\-Colour.\-hpp}}
\subsubsection[{operator$<$$<$}]{\setlength{\rightskip}{0pt plus 5cm}std\-::ostream\& operator$<$$<$ (
\begin{DoxyParamCaption}
\item[{std\-::ostream \&}]{out, }
\item[{const {\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}}]{ecol}
\end{DoxyParamCaption}
)}}\label{_electric_colour_8hpp_af1d4177c474974362dbd0b8bd532f54f}


Outputs the character representation of {\itshape ecol} to {\itshape out}. 

See \hyperlink{_electric_colour_8cpp}{Electric\-Colour.\-cpp} for the character representation of each Electric\-Colour. \begin{DoxyPrecond}{Precondition}
{\itshape out} must be a working output stream. 
\end{DoxyPrecond}
\begin{DoxyPostcond}{Postcondition}
{\itshape out} will be the same as before, except it will have the character representation of {\itshape ecol} written to it. 
\end{DoxyPostcond}

\begin{DoxyParams}{Parameters}
{\em out} & The output stream where {\itshape ecol} will be written. \\
\hline
{\em ecol} & The Electric\-Colour to be written to {\itshape out}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A reference to the modified output stream {\itshape out}. 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Whatever} & {\itshape out} throws. \\
\hline
\end{DoxyExceptions}
\hypertarget{_electric_colour_8hpp_a373043b3c5688d1a8cd65adb2849125a}{\index{Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}!operator$<$=@{operator$<$=}}
\index{operator$<$=@{operator$<$=}!ElectricColour.hpp@{Electric\-Colour.\-hpp}}
\subsubsection[{operator$<$=}]{\setlength{\rightskip}{0pt plus 5cm}bool operator$<$= (
\begin{DoxyParamCaption}
\item[{{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}}]{c1, }
\item[{{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}}]{c2}
\end{DoxyParamCaption}
)}}\label{_electric_colour_8hpp_a373043b3c5688d1a8cd65adb2849125a}


Determines whether {\itshape c1} is a subset of {\itshape c2}. 

Each Electric\-Colour represents a subset of the set \{red, green, blue\}. This function returns true if and only if c2 contains every basic colour that c1 contains. 
\begin{DoxyParams}{Parameters}
{\em c1} & The Electric\-Colour that may or may not be a subset of {\itshape c2}. \\
\hline
{\em c2} & The Electric\-Colour that may or may not be a superset of {\itshape c1}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
True if and only if {\itshape c1} is a subset of {\itshape c2}. 
\end{DoxyReturn}
\hypertarget{_electric_colour_8hpp_ad03bdfc78320f02c613ce4da319d1e06}{\index{Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}!operator$>$@{operator$>$}}
\index{operator$>$@{operator$>$}!ElectricColour.hpp@{Electric\-Colour.\-hpp}}
\subsubsection[{operator$>$}]{\setlength{\rightskip}{0pt plus 5cm}bool operator$>$ (
\begin{DoxyParamCaption}
\item[{{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}}]{c1, }
\item[{{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}}]{c2}
\end{DoxyParamCaption}
)}}\label{_electric_colour_8hpp_ad03bdfc78320f02c613ce4da319d1e06}


Determines whether {\itshape c1} is a proper superset of {\itshape c2}. 

Each Electric\-Colour represents a subset of the set \{red, green, blue\}. This function returns true if and only if c1 contains every basic colour that c2 contains and c1 contains strictly more basic colours than c2. 
\begin{DoxyParams}{Parameters}
{\em c1} & The Electric\-Colour that may or may not be a proper superset of {\itshape c2}. \\
\hline
{\em c2} & The Electric\-Colour that may or may not be a proper subset of {\itshape c1}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
True if and only if {\itshape c1} is a proper superset of {\itshape c2}. 
\end{DoxyReturn}
\hypertarget{_electric_colour_8hpp_a1e931082bbb2c3bc25699efb44064deb}{\index{Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}!operator$>$=@{operator$>$=}}
\index{operator$>$=@{operator$>$=}!ElectricColour.hpp@{Electric\-Colour.\-hpp}}
\subsubsection[{operator$>$=}]{\setlength{\rightskip}{0pt plus 5cm}bool operator$>$= (
\begin{DoxyParamCaption}
\item[{{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}}]{c1, }
\item[{{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}}]{c2}
\end{DoxyParamCaption}
)}}\label{_electric_colour_8hpp_a1e931082bbb2c3bc25699efb44064deb}


Determines whether {\itshape c1} is a superset of {\itshape c2}. 

Each Electric\-Colour represents a subset of the set \{red, green, blue\}. This function returns true if and only if c1 contains every basic colour that c2 contains. 
\begin{DoxyParams}{Parameters}
{\em c1} & The Electric\-Colour that may or may not be a superset of {\itshape c2}. \\
\hline
{\em c2} & The Electric\-Colour that may or may not be a subset of {\itshape c1}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
True if and only if {\itshape c1} is a superset of {\itshape c2}. 
\end{DoxyReturn}
\hypertarget{_electric_colour_8hpp_a1964467d6938e25d600d61f7f83a31bf}{\index{Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}!operator$>$$>$@{operator$>$$>$}}
\index{operator$>$$>$@{operator$>$$>$}!ElectricColour.hpp@{Electric\-Colour.\-hpp}}
\subsubsection[{operator$>$$>$}]{\setlength{\rightskip}{0pt plus 5cm}std\-::istream\& operator$>$$>$ (
\begin{DoxyParamCaption}
\item[{std\-::istream \&}]{in, }
\item[{{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} \&}]{ecol}
\end{DoxyParamCaption}
)}}\label{_electric_colour_8hpp_a1964467d6938e25d600d61f7f83a31bf}


Reads in the character representation of {\itshape ecol} from {\itshape in}. 

See \hyperlink{_electric_colour_8cpp}{Electric\-Colour.\-cpp} for the character representation of each Electric\-Colour. \begin{DoxyPrecond}{Precondition}
{\itshape in} must be a working input stream, of which the next character to be read (excluding spaces and newlines) is one of the 8 character representations of Electric\-Colours. 
\end{DoxyPrecond}
\begin{DoxyPostcond}{Postcondition}
{\itshape in} will have advanced by one character (excluding spaces and newlines). {\itshape ecol} will have the value that was read from {\itshape in}. 
\end{DoxyPostcond}

\begin{DoxyParams}{Parameters}
{\em in} & The input stream from which {\itshape ecol} will be read. \\
\hline
{\em ecol} & A reference to the Electric\-Colour that will store what was read from {\itshape in}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A reference to the modified input stream {\itshape in}. 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Whatever} & {\itshape in} throws. Also throws an exception if the character read from {\itshape in} is not one of the 8 character representations above. \\
\hline
\end{DoxyExceptions}
\hypertarget{_electric_colour_8hpp_a8b80adef6ab9b9cb7cb4f84bbb2011c1}{\index{Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}!operator$^\wedge$@{operator$^\wedge$}}
\index{operator$^\wedge$@{operator$^\wedge$}!ElectricColour.hpp@{Electric\-Colour.\-hpp}}
\subsubsection[{operator$^\wedge$}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} operator$^\wedge$ (
\begin{DoxyParamCaption}
\item[{{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}}]{c1, }
\item[{{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}}]{c2}
\end{DoxyParamCaption}
)}}\label{_electric_colour_8hpp_a8b80adef6ab9b9cb7cb4f84bbb2011c1}


Returns the element-\/wise X\-O\-R of {\itshape c1} and {\itshape c2}. 

Each Electric\-Colour represents a subset of the set \{red, green, blue\}. This function returns an Electric\-Colour c3 such that for each basic colour c, c3 contains c if and only if c1 contains c X\-O\-R c2 contains c. E.\-g. M\-A\-G\-E\-N\-T\-A $^\wedge$ C\-Y\-A\-N = Y\-E\-L\-L\-O\-W. 
\begin{DoxyParams}{Parameters}
{\em c1} & The first Electric\-Colour. \\
\hline
{\em c2} & The second Electric\-Colour. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The bitwise X\-O\-R of {\itshape c1} and {\itshape c2}. 
\end{DoxyReturn}
\hypertarget{_electric_colour_8hpp_a6868414f583a0227d1232f9dee611fbb}{\index{Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}!operator$|$@{operator$|$}}
\index{operator$|$@{operator$|$}!ElectricColour.hpp@{Electric\-Colour.\-hpp}}
\subsubsection[{operator$|$}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} operator$|$ (
\begin{DoxyParamCaption}
\item[{{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}}]{c1, }
\item[{{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}}]{c2}
\end{DoxyParamCaption}
)}}\label{_electric_colour_8hpp_a6868414f583a0227d1232f9dee611fbb}


Returns the union of two Electric\-Colours. 

Each Electric\-Colour represents a subset of the set \{red, green, blue\}. This function returns an Electric\-Colour representing the union of the two arguments. 
\begin{DoxyParams}{Parameters}
{\em c1} & The first Electric\-Colour. \\
\hline
{\em c2} & The second Electric\-Colour. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The union of {\itshape c1} and {\itshape c2}. 
\end{DoxyReturn}
\hypertarget{_electric_colour_8hpp_a8562ffdba84f04961059cf5e05f84454}{\index{Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}!operator$|$$|$@{operator$|$$|$}}
\index{operator$|$$|$@{operator$|$$|$}!ElectricColour.hpp@{Electric\-Colour.\-hpp}}
\subsubsection[{operator$|$$|$}]{\setlength{\rightskip}{0pt plus 5cm}bool operator$|$$|$ (
\begin{DoxyParamCaption}
\item[{{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}}]{c1, }
\item[{{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}}]{c2}
\end{DoxyParamCaption}
)}}\label{_electric_colour_8hpp_a8562ffdba84f04961059cf5e05f84454}


Determines whether {\itshape c1} and {\itshape c2} are not both B\-L\-A\-C\-K. 

Each Electric\-Colour represents a subset of the set \{red, green, blue\}. This function returns true if and only if the union of {\itshape c1} and  is non-\/empty, i.\-e. {\itshape c1} and {\itshape c2} are not both B\-L\-A\-C\-K. 
\begin{DoxyParams}{Parameters}
{\em c1} & The first Electric\-Colour. \\
\hline
{\em c2} & The second Electric\-Colour. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
True if and only if either {\itshape c1} or {\itshape c2} is not B\-L\-A\-C\-K. 
\end{DoxyReturn}
\hypertarget{_electric_colour_8hpp_a91e81cee67c59cecb311503463c2125d}{\index{Electric\-Colour.\-hpp@{Electric\-Colour.\-hpp}!operator$\sim$@{operator$\sim$}}
\index{operator$\sim$@{operator$\sim$}!ElectricColour.hpp@{Electric\-Colour.\-hpp}}
\subsubsection[{operator$\sim$}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R} operator$\sim$ (
\begin{DoxyParamCaption}
\item[{{\bf E\-\_\-\-E\-L\-E\-C\-T\-R\-I\-C\-C\-O\-L\-O\-U\-R}}]{c}
\end{DoxyParamCaption}
)}}\label{_electric_colour_8hpp_a91e81cee67c59cecb311503463c2125d}


Inverts the Electric\-Colour {\itshape c}. 

Each Electric\-Colour represents a subset of the set \{red, green, blue\}. This function returns the subtraction\-: white -\/ {\itshape c}. 
\begin{DoxyParams}{Parameters}
{\em c} & The Electric\-Colour to be inverted. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The result of the subtraction\-: white -\/ {\itshape c}. 
\end{DoxyReturn}
